<!--
  描述：保修内容配置列表页
  @author tanghongjun
  @since 2020-06-09 11:07:32
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>保修内容配置列表</title>
</head>
<body>

<div class="layui-fluid">

    <!--面包屑-->
    <blockquote class="layui-crumb">
        <a lay-href="/warranty/content/list.action" lay-text="保修内容配置管理" th:text="保修内容配置管理">保修内容配置管理</a>
    </blockquote>

    <div class="layui-card">

        <div class="layui-split">&nbsp;</div>

        <form method="post" class="layui-form"  action="/warranty/content/list.action" id="warranty_content_list">
            <div class="layui-form" th:include="warranty/content/_query :: query "></div>
        </form>

        <div class="layui-card-body">
            <div th:replace="warranty/content/_table::table"/>
            <script type="text/html" id="zmn-table-tool">
                <div class="layui-btn-container">
<!--                    <div class="layui-btn-group" th:if="${#authPermit.checkPermit('/warranty/content/updateStatus.action')}">-->
                    <div class="layui-btn-group">
                        <button class="layui-btn layui-btn-sm" lay-event="start">启用</button>
                        <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="stop">停用</button>
                    </div>
                    <div class="layui-btn-group">
<!--                        <zmn th:if="${#authPermit.checkPermit('/warranty/content/addEditView.action')}">-->
                        <zmn>
                            <a lay-href="/warranty/content/detail.action" class="layui-btn layui-btn-sm layui-btn-primary"
                               lay-text="新增保修内容配置" text="新增保修内容配置">+新增</a>
                        </zmn>
                    </div>
                </div>


            </script>
        </div>

    </div>
</div>

<script type="text/javascript" th:inline="javascript">

    var json = {
        totalCount: [[${vo.totalCount}]],
        pageSize: [[${vo.pageSize}]],
        pageIndex: [[${vo.pageIndex}]],
        items: [[${items}]]
    };

    layui.config({
        base: "/static/lay/"
    }).extend({
        index: "lib/index",
        plat_warranty_content_list: "warranty/content/zmn.plat.warrantycontent.list",
    }).use(['index', 'plat_warranty_content_list']);

</script>
</body>
</html>